package casa.depesos.app.com.http.req;


import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.LinkInfoBean;
import casa.depesos.app.com.http.parser.LinkInfoParser;
import okhttp3.FormBody;

public class LinkInfoReq implements HttpReq<LinkInfoBean> {
    @Override
    public void req(ReqCallback<LinkInfoBean> callback) {// /app/queryFirst/queryLinkInfoConfig
        FormBody.Builder builder = new FormBody.Builder();
        Req.post("/app/primaryQuery/retrieveLinkageInfoConfiguration", getParam(), getHeader(), builder.build(), new LinkInfoParser(), callback, this);
    }

    @Override
    public boolean pass() {
        return true;
    }
}
